home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / fontutil.6 / fontutil / fontutils-0.6 / imageto / main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-02  |  1.3 KB  |  42 lines

  1. /* main.h: global variable declarations.
  2.  
  3. Copyright (C) 1992 Free Software Foundation, Inc.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. #ifndef MAIN_H
  20. #define MAIN_H
  21.  
  22. #include "types.h"
  23. #include "image-header.h"
  24.  
  25.  
  26. /* See main.c for explanations of these globals.  */
  27. extern boolean trace_scanlines;
  28. extern image_header_type image_header;
  29. extern string input_name;
  30.  
  31. /* Generic routines to manipulate the image.  */
  32. extern void (*image_open_input_file) (string filename);
  33. extern void (*image_close_input_file) (void);
  34. extern void (*image_get_header) (void);
  35. extern boolean (*image_get_scanline) (one_byte *);
  36.  
  37.  
  38. /* Print a scanline LINE of width WIDTH, if `trace_scanlines' is true..  */
  39. extern void print_scanline (one_byte line[], unsigned width);
  40.  
  41. #endif /* not MAIN_H */
  42.